package com.eascs.p2p.common.service;


import java.util.List;

import com.eascs.p2p.common.entity.FileEntity;
import com.eascs.p2p.common.vo.ModelResult;

public interface IFileService {

	public ModelResult<List<FileEntity>> findFileByKeyCode(String[] type,String id);
	
	public ModelResult<FileEntity> findFileById(String id);
	
	public ModelResult<String> fileUpload(FileEntity fileEntity);

	public ModelResult<Boolean> delFile(String fileId);
	
	public ModelResult<Boolean> updateFile(String[] fileId,String keyCode);
}
